package com.etone.smartAudit.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author: 蒋学伟
 * @date: 2018-10-12 09:48:05
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "登陆返回")
public class LoginVO implements Serializable {
    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("是否是超级管理员")
    private Boolean isSupper;

    @ApiModelProperty("是否是超级管理员")
    private String code;

    @ApiModelProperty("权限")
    private List<String> roles;
}